//
//  XMSendStatusTool.h
//  XMWeibo
//
//  Created by chi on 14-8-30.
//  Copyright (c) 2014年 xiaoming. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "XMHttpSendStatusParams.h"
#import "XMHttpSendStatusResult.h"

@interface XMSendStatusTool : NSObject


/**
 *  发送一条不带图片微博
 *
 *  @param params    请求参数
 *  @param success   请求结果
 *  @param failure   失败参数
 */
+ (void)sendStatusWithParam:(XMHttpSendStatusParams*)params success:(void(^) (XMHttpSendStatusResult*result))success failure:(void(^) (NSError *error))failure;

/**
*  发送一条带图片微博
*
*  @param params    请求参数
*  @param formDatas 图片(XMHttpFormData数组)
*  @param success   请求结果
*  @param failure   失败参数
*/
+ (void)sendStatusWithParam:(XMHttpSendStatusParams*)params formDatas:(NSArray*)formDatas success:(void(^) (XMHttpSendStatusResult*result))success failure:(void(^) (NSError *error))failure;



@end
